<?php $this->render("theader.php");?>
<?php if ($this->plan != 'en'){?>
<div class="main_box">   
    <div class="w_986">
    <div class="f_l plate_216 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_l_mid">
            <div class="meet_home_l_nav">
            <?php $left = unserialize($this->minfo['left']);
                if (is_array($left)){
                	foreach($left as $index => $v){
                	if ($v['show'] == false)continue;
                	$url = "";
                	if ($v['type'] == 'login')
						$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=reg&p=l' . $index;
                	elseif($v['type'] == 'article')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=article&uuid=' . $v['uuid'] . '&p=l' . $index;
                	elseif($v['type'] == 'file')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=file&id=' . $v['uuid'] . '&p=l' . $index;
                	else
                		$url = "#no";
                ?>
          		<a href="<?php echo $url;?>" class="icon_all list_nav"><?php echo $v['name'];?></a> 
          		<?php }}?>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="f_r plate_756 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_content_mid">
            <div class="list_content meet_home_content" style=" min-height:200px;">
            <?php 
            
            echo str_replace("<img","<img onload='javascript:ResizeImage(this, 680);'", $this->content);?>
            </div>
            
                    
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="clear"></div>
    </div>    
    
</div>


<?php $GLOBALS['nomanage'] = true;$this->render("footer.php");?>

<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script>
function ResizeImage(objImage,maxWidth) {  
	try{  
	if(maxWidth>0){  
	var objImg = $(objImage);  
	if(objImg.width()>maxWidth){  
	objImg.width(maxWidth).css("cursor","pointer").click(function(){  
	try{showModelessDialog(objImage.src);}catch(e){window.open(objImage.src);}  
	});  
	}  
	}  
	}catch(e){};  
	}  
</script>
</body>
</html>
<?php }else{?>
<div class="main_box">   
    <div class="w_986">
    <div class="f_l plate_216 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_l_mid">
            <div class="meet_home_l_nav">
            <?php $left = unserialize($this->minfo['left']);
                if (is_array($left)){
                	foreach($left as $index => $v){
                	if ($v['show'] == false)continue;
                	$url = "";
                	if ($v['type'] == 'login')
						$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=reg&p=l' . $index;
                	elseif($v['type'] == 'article')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=article&uuid=' . $v['uuid'] . '&p=l' . $index;
                	elseif($v['type'] == 'file')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=file&id=' . $v['uuid'] . '&p=l' . $index;
                	else
                		$url = "#no";
                ?>
          		<a href="<?php echo $url;?>" class="icon_all list_nav"><?php echo $v['enname'];?></a> 
          		<?php }}?>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="f_r plate_756 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_content_mid">
            <div class="list_content meet_home_content" style=" min-height:200px;">
            <?php 
            
            echo str_replace("<img","<img onload='javascript:ResizeImage(this, 680);'", $this->content);?>
            </div>
            
                    
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="clear"></div>
    </div>    
    
</div>


<?php $GLOBALS['nomanage'] = true;$this->render("footer.php");?>

<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script>
function ResizeImage(objImage,maxWidth) {  
	try{  
	if(maxWidth>0){  
	var objImg = $(objImage);  
	if(objImg.width()>maxWidth){  
	objImg.width(maxWidth).css("cursor","pointer").click(function(){  
	try{showModelessDialog(objImage.src);}catch(e){window.open(objImage.src);}  
	});  
	}  
	}  
	}catch(e){};  
	}  
</script>
</body>
</html>
<?php }?>
